<?php

namespace Lettral\LetterBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;

/**
 * @ORM\Entity
 */
class CpVille {
    
	/**
	 * @ORM\Id
	 * @ORM\Column(type="integer")
	 * @ORM\generatedValue(strategy="AUTO")
	 */
	protected $id;
	
    /**
    * @ORM\Column(type="string",length="6")
    */ 
    protected $cp;
    
    /**
     * @ORM\Column(type="string",length="32")
     */
    protected $commune;
    
  	public function getCp() {
  	    return $this->cp;
  	}
  	
  	public function setCp($cp) {
  	    $this->cp = $cp;
  	    return $this;
  	}
  	
  	public function getCommune() {
  	    return $this->commune;
  	}
  	
  	public function setCommune($commune) {
  	    $this->commune = $commune;
  	    return $this;
  	}
}
